Skip to content

Add Gemini CLI provider#131

Merged
VincentShipsIt merged 7 commits into
developfrom
ship/48-add-gemini-cli-provider
May 8, 2026
Merged

Add Gemini CLI provider#131
VincentShipsIt merged 7 commits into
developfrom
ship/48-add-gemini-cli-provider

Conversation

@VincentShipsIt
Copy link
Copy Markdown
Contributor

Opened from existing remote branch ship/48-add-gemini-cli-provider for review and CI monitoring.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6734d872c6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

reviewer: ['claude', 'codex', 'openrouter'],
executor: ['claude', 'codex', 'openrouter'],
verifier: ['claude', 'codex', 'openrouter'],
planner: [...PIPELINE_EXECUTOR_PROVIDERS],
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restrict phase-provider options to providers accepted by override IPC

Adding PIPELINE_EXECUTOR_PROVIDERS here now exposes gemini in issue-level phase override selectors, but the main-process handler for github:set-phase-model-override still rejects anything except claude|codex|openrouter (apps/desktop/src/main/ipc/register-github-handlers.ts:1133-1134). Selecting Gemini in the UI therefore throws Invalid <phase> model and the override cannot be saved, so the newly added option is non-functional in this workflow.

Useful? React with 👍 / 👎.

Comment on lines +67 to +69
function assertProcessManagerCommand(command: string): asserts command is ProcessManagerCommand {
if (isTrustedShell(command) || isAllowlistedAgentCommand(command)) return;
throw new Error(`Command is not allowlisted for ProcessManager: ${command}`);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Permit user login shells outside the hardcoded trusted list

This new assertion rejects any command not in the allowlist, which now includes shell paths; however instant:bare-shell launches process.env.SHELL (apps/desktop/src/main/ipc/register-instant-handlers.ts:472-476). Users whose login shell is not one of the hardcoded entries (for example fish) will now get Command is not allowlisted for ProcessManager and cannot open a bare terminal session, which worked before this change because non-agent commands bypassed allowlist checks.

Useful? React with 👍 / 👎.

@VincentShipsIt VincentShipsIt merged commit ce2eb3f into develop May 8, 2026
1 check passed
@VincentShipsIt VincentShipsIt deleted the ship/48-add-gemini-cli-provider branch May 8, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant